<{if is_object($cityO)}>


<form action="index.php?type=city&func=edit_ok&id=<{$cityO->getVar("id")}>" method=POST>
<table class="outer" cellspacing="1" width="100%">
<tbody>
<tr><th colspan="2">_MD_neogeo_CITY_EDIT</th></tr>
<tr align="left" valign="top">
<td class="head">_MD_neogeo_CITY_REGION</td>
<td class="even">
<select name="city_regid" >
<{foreach item=regionO from=$cityO->regions}>
<{if $regionO->getVar("id")==$cityO->getVar("regid")}>
<option selected value="<{$regionO->getVar("id")}>"><{$regionO->country->getVar("title")}>>><{$regionO->getVar("title")}></option>
<{else}>
<option  value="<{$regionO->getVar("id")}>"><{$regionO->country->getVar("title")}>>><{$regionO->getVar("title")}></option>
<{/if}>
<{/foreach}>
</select>
</td>
</tr>
<tr align="left" valign="top">
<td class="head">_MD_neogeo_CITY_TITLE</td>
<td class="even"><input name="city_title" id="city_title" size="50" maxlength="255" value="<{$cityO->getVar("title")}>" type="text"></td>
</tr>
<tr align="left" valign="top"><td class="head">_MD_neogeo_CITY_DESCRIPTION</td>
<td class="even"><textarea name="city_description" id="city_description" rows="5" cols="50"><{$cityO->getVar("description")}></textarea></td>
</tr><tr align="left" valign="top"><td class="head"></td>
</tr></tbody></table>
<input type=submit>
</form>


<{/if}>